/**
 * @fileoverview 文本颜色。分为Opaque（不透明）、vibrant、material三种类型。每种类型都有light、dark样式
 * 1. 因浅色模式为主流，因此默认为浅色模式，深色模式颜色添加 -dark后缀
 * 2. Opaque为 iOS、macOS 共有，采用 iOS 值；
 *    vibrant 类型来自 macOS sketch、iOS figma，采用 iOS figma值；
 *    material 类型来自 iOS，采用 iOS 值；
 * 3. 无声明默认为Opaque类型的、light样式的。因此 API 除 DEFAULT，额外添加 dark、 vibrant、vibrant-dark、material、material-dark
 */
module.exports = {
  primary: {
    // iOS为rgb(0,0,0)，macOS为rgba(0,0,0,0.85)
    DEFAULT: "rgba(0,0,0,0.85)",
    // iOS为rgb(255, 255, 255)，macOS为rgba(255,255,255,0.85)
    dark: "rgba(255,255,255,0.85)",

    vibrant: "rgba(0,0,0,0.85)",
    "vibrant-dark": "rgba(255,255,255,0.85)",

    material: "rgba(68,68,68,0.80)",
    "material-dark": "rgba(255,255,255,0.85)",

    // 其它，来自iView
    title: "#17233d",
    "title-dark": "rgba(0,0,0,0.85)",
  },
  secondary: {
    DEFAULT: "rgba(60,60,67,0.6)",
    dark: "rgba(235,235,245,0.6)",

    vibrant: "rgba(0,0,0,0.4)",
    "vibrant-dark": "rgba(255,255,255,0.6)",

    material: "rgba(85,85,85,0.35)",
    "material-dark": "#B6B6B6",
  },
  tertiary: {
    DEFAULT: "rgba(60,60,67,0.3)",
    dark: "rgba(235,235,245,0.3)",

    vibrant: "rgba(0,0,0,0.25)",
    "vibrant-dark": "rgba(255,255,255,0.25)",

    material: "rgba(102,102,102,0.15)",
    "material-dark": "#B6B6B6",
  },
  quaternary: {
    DEFAULT: "rgba(60,60,67,0.18)",
    dark: "rgba(235,235,245,0.18)",

    vibrant: "rgba(0,0,0,0.15)",
    "vibrant-dark": "rgba(255,255,255,0.15)",

    material: "rgba(119,119,119,0.10)",
    "material-dark": "#B6B6B6",
  },
};
